Skip to content

Replace JS demo with WASM DasherCore build#147

Merged
willwade merged 1 commit into
mainfrom
wasm-dashercore
Jun 16, 2026
Merged

Replace JS demo with WASM DasherCore build#147
willwade merged 1 commit into
mainfrom
wasm-dashercore

Conversation

@willwade

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the old pure-JavaScript Dasher demo with a full WebAssembly build of the native DasherCore C++ engine
  • Adds DasherCore as a git submodule (branch feature-CAPI)
  • Adds GitHub Actions workflow to build WASM and deploy demo to GitHub Pages
  • Adds speed control, auto-speed toggle, and learning toggle to the demo
  • Removes old browser/ JS demo, tests/, and Keyboard/
  • Updates all copyright notices to dasher-project contributors

Live demo (after merge)

The GH Actions workflow builds the WASM module and deploys to GitHub Pages. The demo includes:

  • Canvas-based rendering of the full DasherCore engine
  • 14+ alphabets (English, German, French, Spanish, etc.)
  • Mouse and touch input
  • Speed slider (20-400%), auto-speed toggle, learning toggle
  • Clear text / full reset buttons

Embedding

See the README for iframe and self-hosted embedding examples.

- Add WASM build of native DasherCore C++ engine via Emscripten
- Add DasherCore as git submodule (branch feature-CAPI)
- Add demo.html with canvas rendering, mouse/touch input,
  speed control, auto-speed toggle, learning toggle
- Add dasher-wasm-wrapper.js JS API wrapper
- Add GitHub Actions workflow to build and deploy to Pages
- Remove old browser/ JS demo, tests/, Keyboard/
- Update all copyright notices to dasher-project contributors
- Rewrite README with build instructions and embedding docs
@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for dasherv6demo failed.

Name Link
🔨 Latest commit 91aa722
🔍 Latest deploy log https://app.netlify.com/projects/dasherv6demo/deploys/6a31930641d37500085ab31e

@willwade willwade merged commit e3c8a4f into main Jun 16, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant